package com.bflow.commons.bean;

import java.io.Serializable;
import java.util.List;

public class TableResult  implements Serializable {

    private static final long serialVersionUID = 1L;

    private long total;
    private List<?> rows;

    public TableResult()
    {

    }

    public TableResult(List<?> list, int total)
    {
        this.rows = list;
        this.total = total;
    }

    public TableResult(List<?> list, Long total)
    {
        this.rows = list;
        this.total = total;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<?> getRows() {
        return rows;
    }

    public void setRows(List<?> rows) {
        this.rows = rows;
    }


}
